import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {DraParticipateMemberComponent} from './dra-participate-member.component';

const routes: Routes = [
    {path: '', component: DraParticipateMemberComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-dra-participate-member/add-dra-participate-member.module#AddDraParticipateMemberModule'},
            {path: 'list', loadChildren: './list-dra-participate-member/list-dra-participate-member.module#ListDraParticipateMemberModule'},
            {path: 'modify', loadChildren: './modify-dra-participate-member/modify-dra-participate-member.module#ModifyDraParticipateMemberModule'},
            {path: 'report', loadChildren: './report-dra-participate-member/report-dra-participate-member.module#ReportDraParticipateMemberModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class DraParticipateMemberRoutingModule {
}
